home *** CD-ROM | disk | FTP | other *** search
- #ifdef __cplusplus
- extern "C" {
- #endif
- /*------------------------------------------------------------------------*/
- /* Useful things*/
- /*------------------------------------------------------------------------*/
- #ifndef SHORT
- #define SHORT short
- #endif
- #ifndef USHORT
- #define USHORT unsigned short
- #endif
- /*------------------------------------------------------------------------*/
- /* Global ReturnTypeDefinition for DLL-LibraryFunktion*/
- /*------------------------------------------------------------------------*/
- #ifndef DLLAPI
- #define DLLAPI _far _pascal _export
- #endif
- /*------------------------------------------------------------------------*/
- /* Global ConstantDefinition*/
- /*------------------------------------------------------------------------*/
- /* ReturnConstants*/
- #define VB_TRUE -1
-
- /* ErrorConstants*/
- #define ERR_STRUCTSIZE -2
- /*------------------------------------------------------------------------*/
- /* Global TypDefinitions*/
- /*------------------------------------------------------------------------*/
- typedef double DOUBLE, * NPDOUBLE, FAR * LPDOUBLE;
- typedef struct tagInParam
- {
- USHORT nTyp;
- DOUBLE dblZ1,
- dblZ2,
- dblResult;
-
- } INPARAM, * NPINPARAM, FAR * LPINPARAM;
- /*------------------------------------------------------------------------*/
- /* Function Prototypes */
- /*------------------------------------------------------------------------*/
-
- SHORT DLLAPI VBDllTestProc(HLSTR);
-
- VOID FAR PASCAL GetData(LPSTR, LPINPARAM);
-
- VOID FAR PASCAL SetData(LPSTR, LPINPARAM);
-
- /*------------------------------------------------------------------------*/
- #ifdef __cplusplus
- }
- #endif
-
-